package com.macro.mall.tiny.modules.foster.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.macro.mall.tiny.common.api.CommonResult;
import com.macro.mall.tiny.modules.foster.model.Appointment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.macro.mall.tiny.modules.foster.model.dto.PetAndTimeDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuyi
 * @since 2024-04-03
 */
public interface AppointmentService extends IService<Appointment> {

    CommonResult getTimeByRoomId(Long id);

    CommonResult addOrderTime(PetAndTimeDTO timeDTO);

    Page<Appointment> pageAppointment(int pageNum,int pageSize);

}
